// pages/admin/templates/user.js
Component({
  properties: {
    dbMenu: Object,
    dbData: Object,
  },
  data: {
  },
  pageLifetimes: {
    show: function () {
    },
  },
  methods: {
    onClickBtn(ev) {
      const cur = ev.currentTarget.dataset;
      const funcName = this.data.dbMenu.data_btns[cur.evidx].funcName;
      this.data.dbMenu[funcName](cur.uniqueid, cur.order_id);
    },
  }
})
